package com.Cychat.schedule.service.impl;

import com.Cychat.commons.entity.pojo.User;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.Cychat.schedule.mapper.UserMapper;
import com.Cychat.schedule.service.UserService;
import org.springframework.stereotype.Service;

/**
 * Auther: 谢宝辉  <br/>
 * Date: 2025/10/29:11:45  <br/>
 * Description: 用户服务实现类
 */
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements UserService {
    /**
     * Description : 根据用户ID查询用户信息
     * ChangeLog : 1. 创建 (2025/10/29 11:45 [Lenovo]);
     * @auther: 谢宝辉
     * date: 2025/10/29:11:45
     * @param userId
     * @return com.Cychat.commons.entity.pojo.User
     */
    @Override
    public User getUserById(Long userId) {
        return getById(userId);
    }
}
